#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
<?xml version="1.0" encoding="UTF-8"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:fn="http://java.sun.com/jsp/jstl/functions"
	xmlns:p="http://primefaces.org/ui"
	template="/templates/loggedTemplate.xhtml">
	 
	<ui:define name="content">
		
		<h1 class="formTitle ui-widget-header ui-corner-all">${symbol_pound}{msg['usuario.titulo.mudarSenha']}</h1>
		<h:form id="mudarSenhaForm">
		
			<p:growl id="messages" />	
		
			<p:panelGrid columns="2" id="panel">
				
				<p:outputLabel for="senha" value="${symbol_pound}{msg['usuario.senha']}" />
				<p:inputText value="${symbol_pound}{mudarSenhaBean.senha}" id="senha" label="${symbol_pound}{msg['usuario.senha']}" type="password"  />
				
				<p:outputLabel for="novaSenha" value="${symbol_pound}{msg['usuario.novaSenha']}" />
				<p:inputText value="${symbol_pound}{mudarSenhaBean.novaSenha}" id="novaSenha" label="${symbol_pound}{msg['usuario.novaSenha']}" type="password"  />
				
				<p:outputLabel for="confirmaNovaSenha" value="${symbol_pound}{msg['usuario.confirmaSenha']}" />
				<p:inputText value="${symbol_pound}{mudarSenhaBean.confirmaNovaSenha}" id="confirmaNovaSenha" label="${symbol_pound}{msg['usuario.confirmaSenha']}" type="password" />
				
			</p:panelGrid>
			
			<div id="buttons" class="ui-widget ui-widget-header">
				<p:commandButton value="${symbol_pound}{msg['botao.alterar']}" action="${symbol_pound}{mudarSenhaBean.mudarSenha}" update="mudarSenhaForm"  />
			</div>
		</h:form>
	</ui:define>
</ui:composition>
